package com.gitee.elasticsearch;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 搜房网Demo
 * 1.房源数据应同时存储于MySQL与ES中，ES只适用于检索，而MySQL适用于强事务控制
 */
@SpringBootApplication
public class ElasticSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(ElasticSearchApplication.class, args);
    }
}
